import http from './http'

interface login {
    mobile: string,
    password: string
}

export const loginHandler = (params: login) => http.post('login/password', params)


// interface user {
//     mobile: string,
//     password: string
// }

export const getUserList = () => http.get('patient/myUser')